//
//  MediaModel.m
//  自适应瀑布流
//
//  Created by dllo on 16/3/10.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MediaModel.h"

@implementation MediaModel
// 容错方法
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if([key isEqualToString:@"recommend_cover_pic_size"]){
        NSArray *temp = [value componentsSeparatedByString:@"*"];
        self.mVideosWidth = [temp[0] floatValue];
        self.mVideosHeight = [temp[1] floatValue];
    }
}
@end
